<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<title>缺陷管理系统—用户登录</title>
<meta charset="utf-8">
<meta name="keywords" content="DMS缺陷管理系统" />
<meta name="description" content="DMS缺陷管理系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<base href="${pageContext.request.contextPath}/">
<script type="text/javascript" src="js/jquery.1.11.1.js"></script>
<script type="text/javascript" src="js/sure_picture.js"></script>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/site.css" id="siteStyle">
<link rel="stylesheet" href="css/login.css">

<!-- 移动设备 viewport -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">

<!-- 360浏览器默认使用Webkit内核 -->

<!-- 样式 -->
<link rel="stylesheet" href="admui/bootstrap.css">
<link rel="stylesheet" href="admui/site.css" id="siteStyle">
    <!-- 插件 -->
    <link rel="stylesheet" href="admui/animsition.css">
    <!-- 图标 -->
    <link rel="stylesheet" href="admui/web-icons.css">
    <!-- 插件 -->
    <link rel="stylesheet" href="admui/bootstrap-select.css">
    <link rel="stylesheet" href="admui/formValidation.css">
  <script src="layer/layer.js"></script>
</head>



<style type="text/css">
.code {
	
	font-family: Arial;
	font-style: italic;
	color: blue;
	font-size: 30px;
	border: 0;
}
a:hover {
	text-decoration: underline;
}
</style>
<script src="js/logout.js"></script>
<body class="page-login layout-full page-dark" onload="createCode()">

	<div class="page height-full">
		<div class="page-content height-full">
			<div
				class="page-brand-info vertical-align animation-slide-left hidden-xs">
				<div class="page-brand vertical-align-middle">

					<h2 class="hidden-sm">DMS缺陷管理系统</h2>
					<ul class="list-icons hidden-sm">
						<li><i class="wb-check" aria-hidden="true"></i> DMS(Defect
							Management System) 是一个基于最新 Web
							技术的企业级通用缺陷管理系统，可以帮助企业极大的提高测试效率，节省测试成本。</li>
						<li><i class="wb-check" aria-hidden="true"></i> 您可以
							用DMS，对缺陷进行实时查看，分配</li>
						<li><i class="wb-check" aria-hidden="true"></i> DMS
							融合开发，测试，项目经理，提供更多的交互。</li>
					</ul>
					<div class="hidden-sm">
						<a href="" class="btn btn-primary margin-right-5"
							target="_self"><i class="icon wb-home"></i> 返回首页</a> <a
							href="admin/login" class="btn btn-success dropdown-toggle"
							target="_self"><i class="icon wb-download"></i>管理员</a> <a
							href="javascript:;" class="btn btn-info open-kf"><i
							class="icon wb-user"></i> 联系我们</a>
					</div>
				</div>
			</div>

			<div class="page-login-main animation-fade">

				<div class="vertical-align">
					<div class="vertical-align-middle">
						<div class="brand visible-xs text-center">
							<img class="brand-img" src="images/login.jpg" height="50"
								alt="D M S">
						</div>
						<div align="center">
						<h3 class="hidden-xs">登录 DMS</h3>
						<p class="hidden-xs">DMS 缺陷管理系统</p>
						</div>
						<form action="user/login" target="_self" class="login-form"
							onsubmit="return validateCode()" method="post" id="loginForm">

							<div class="form-group">
								<label class="sr-only" for="username">用户名</label> <input
									type="text" class="form-control" id="username"
									name="student_num" placeholder="请输入用户名" required="required">
							</div>
							<div class="form-group">
								<label class="sr-only" for="password">密码</label> <input
									type="password" class="form-control" id="password"
									name="password" placeholder="请输入密码" required="required">
							</div>
							<div class="form-group">
								<label class="sr-only" for="password">验证码</label>
								<div class="input-group">
									<input type="text" id="inputCode" onblur="validateCode()"
										class="form-control" placeholder="请输入验证码"> <a
										class="input-group-addon padding-0 reload-vify"
										href="javascript:;">
										<div class="form-group">
											<table border="0" cellspacing="5" cellpadding="5">
												<tr>
													<td><div class="code" id="checkCode"
															onclick="createCode()"></div></td>
												</tr>
											</table>
										</div>
						</a>
								</div>
							</div>
							
							<div class="form-group" id="sure">请输入验证码 </div>
							<div class="form-group clearfix">
							
								<div class="pull-right">
									<a href="user/regist" target="_self">注册账号</a> · <a
										class="collapsed" onclick="toalert()">
										找回密码
									</a>
								</div>
							</div>
							
							<button type="submit"
								class="btn btn-primary btn-block margin-top-30">立即登录</button>
						</form>
					</div>
				</div>
				<footer class="page-copyright">
				<p>缺陷管理系统 &copy; MYQZ</p>
				</footer>
			</div>
		</div>
	</div>
<script>
 function toalert(){

	 //iframe层
	 layer.open({
	   type: 2,
	   title: '密码找回',
	   shadeClose: true,
	   shade: 0.8,
	   area: ['380px', '30%'],
	   content: 'user/userpassword' //iframe的url
	 }); 
}
 </script>
</body>
</html>
